# <---------- set c++ standard ------------->
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

CMAKE_MINIMUM_REQUIRED (VERSION 3.0)

project(search_engine)

SET(CMAKE_SYSTEM_NAME Linux)

SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)

add_subdirectory(${PROJECT_SOURCE_DIR}/src/common)
add_subdirectory(${PROJECT_SOURCE_DIR}/src/Reactor)
add_subdirectory(${PROJECT_SOURCE_DIR}/src/online)
add_subdirectory(${PROJECT_SOURCE_DIR}/src/offine1)
add_subdirectory(${PROJECT_SOURCE_DIR}/src/offine2)
add_subdirectory(${PROJECT_SOURCE_DIR}/client)

